const user = {
    getUserName(state) {
        return state.user.userInfo.name
    }
}

const rule = {
    getRuleList (state) {
        return state.rule.ruleInfo.ruleList
    }
}


export default {
    ...user,
    ...rule
}
